package broadcast

const (
	//TxRecvFilterCacheNum 接收的交易哈希过滤缓存设为txpool最大接收交易量
	TxRecvFilterCacheNum = 1024 * 20
	//BlockRecvFilterCacheNum ...
	BlockRecvFilterCacheNum = 1024

	//EventPubsubCapacity Event队列大小
	EventPubsubCapacity = 1024 * 20

	//BroadcastV0 广播类型V0
	BroadcastV0 = 0
	//BroadcastV1 广播类型V1
	BroadcastV1 = 1

	//TxTopic topic类型交易
	TxTopic = "tx/v1.0.0"
	//BlockTopic topic类型区块
	BlockTopic = "block/v1.0.0"
)
